package com.shinewind.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "接受商品评论删除的参数")
public class ModelCommentDeleteDto implements Serializable {
    @ApiModelProperty(value = "详情id",required = true)
    @NotNull(message = "详情id不能为null")
    @JsonProperty(value = "dId")
    private String dId;
    @ApiModelProperty(value = "评论id",required = true)
    @NotNull(message = "评论id不能为null")
    @JsonProperty(value = "cId")
    private String cId;
}
